package per.qiao.simplerest.anno;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * Company: 上海数惠系统技术有限公司
 * Department: 数据中心
 * Date: 2020-05-29 12:22
 *
 * @Author: qyp
 * Email: qiaoyp@dist.com.cn
 *
 */
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RestPathVariable {

    @AliasFor("name")
    String value() default "";

    @AliasFor("value")
    String name() default "";

}
